Scaling an App with the API
Using this API you can scale a deployed app and send those updates to the cloud for TIBCO Flogo®.
Note: Please avoid using scale operation when autoscaling is configured.
To scale an app you need the following:
-
App ID — ID of the app to be accessed, which can be retrieved using the GET /v1/dp/apps method.
-
count — it is the instance count you can set for the deployed app.
- Procedure
Use the PUT /v1/dp/apps/{appId}/scale/{count} method to scale the deployed app.
Use the GET /v1/dp/apps/{appId} method to view the app details and confirm your changes.
Include one or more of the query parameters to filter the results. Click the API Documentation button on your Data Plane for more information.
Note: App tags are completely replaced each time an app is updated. Be sure to include any tags you want on the app when you update the app. Sending an empty array of App tags removes all of the tags on the app.